package com.sfac.java_spring_boot_02.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Description ResourceConfigBean
 * @Author HymanHu
 * @Date 2021/9/13 10:23
 */
@Component
public class ResourceConfigBean {

    @Value("${resource.path}")
    private String path;
    @Value("${resource.pattern}")
    private String pattern;
    @Value("${resource.location.win}")
    private String winLocation;
    @Value("${resource.location.linux}")
    private String linuxLocation;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getPattern() {
        return pattern;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }

    public String getWinLocation() {
        return winLocation;
    }

    public void setWinLocation(String winLocation) {
        this.winLocation = winLocation;
    }

    public String getLinuxLocation() {
        return linuxLocation;
    }

    public void setLinuxLocation(String linuxLocation) {
        this.linuxLocation = linuxLocation;
    }
}
